public class PersonJava {
    private final String name;
    private boolean isMarred;
    int age;

    public boolean isMarred() {
        return isMarred;
    }

    public void setMarred(boolean marred) {
        isMarred = marred;
    }

    public PersonJava(String name, boolean isMarred) {
        this.name = name;
        this.isMarred = isMarred;
    }

    public PersonJava(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}
